import { trackEvent } from './track-event'

export function BookContentShow () {
  trackEvent({
    umaId: 'BookContentShow',
    category: '同步学目录展示'
  })
}

export function BookContentChooseFinsh () {
  trackEvent({
    umaId: 'BookContentChooseFinsh',
    category: '同步学目录选择完成'
  })
}

export function SubjectChoooseClick () {
  trackEvent({
    umaId: 'SubjectChoooseClick',
    category: '同步学科目切换'
  })
}

export function BookDetailClick ({ property }) {
  trackEvent({
    umaId: 'BookDetailClick',
    category: '同步学具体模块点击',
    property
  })
}

export function PracticeDetailShow ({ property }) {
  trackEvent({
    umaId: 'PracticeDetailShow',
    category: '练习册详情展示',
    property
  })
}

export function PracticeDetailClick ({ property }) {
  trackEvent({
    umaId: 'PracticeDetailClick',
    category: '练习册详情点击',
    property
  })
}

export function CorrectDetailShow ({ property }) {
  trackEvent({
    umaId: 'CorrectDetailShow',
    category: '批作业详情展示',
    property
  })
}

export function AnswerChangeClick () {
  trackEvent({
    umaId: 'AnswerChangeClick',
    category: '批作业题目答案切换点击'
  })
}

export function WrongTabClick () {
  trackEvent({
    umaId: 'WrongTabClick',
    category: '答错了点击'
  })
}

export function CorrectReportShow () {
  trackEvent({
    umaId: 'CorrectReportShow',
    category: '批改报告展示'
  })
}

export function CorrectReportDetailClick ({ property }) {
  trackEvent({
    umaId: 'CorrectReportDetailClick',
    category: '批改报告具体模块点击',
    property
  })
}

export function NotebookDetailShow ({ property }) {
  trackEvent({
    umaId: 'NotebookDetailShow',
    category: '错题本详情展示',
    property
  })
}

export function NotebookDetailClick ({ property }) {
  trackEvent({
    umaId: 'NotebookDetailClick',
    category: '错题本具体模块点击',
    property
  })
}

export function AppletHomePageShow () {
  trackEvent({
    umaId: 'AppletHomePageShow',
    category: '小程序小书宝首页展示'
  })
}
export function NotvipNotebookPopupShow () {
  trackEvent({
    umaId: 'NotvipNotebookPopupShow',
    category: '非vip错题本弹窗弹出'
  })
}
export function NotebookPurchaseBookVipClick () {
  trackEvent({
    umaId: 'NotebookPurchaseBookVipClick',
    category: '错题本开通本书会员点击'
  })
}
export function NotebookPopupOff () {
  trackEvent({
    umaId: 'NotebookPopupOff',
    category: '非vip错题本弹窗关闭'
  })
}
export function VipNotebookPopupShow (property) {
  trackEvent({
    umaId: 'VipNotebookPopupShow',
    category: 'vip错题本弹窗弹出',
    property
  })
}
export function ProgressPictureShow (property) {
  trackEvent({
    umaId: 'ProgressPictureShow',
    category: '解析图片展示'
  })
}

export function BookChapterDetailClick ({ property }) {
  trackEvent({
    umaId: 'BookChapterDetailClick',
    category: '同步学章节详情点击',
    property
  })
}
